<template>
  <div>
    <h1>List</h1>
    <div>我是弟弟,我开我哥的车是{{ car }}</div>
  </div>
</template>

<script>
export default {
  name: "List",
  props: ["car"],
  beforeCreate() {
    console.log("~~~~beforeCreate~~~~");
  },
  created() {
    console.log("~~~~created~~~~");
  },
  beforeMount() {
    console.log("~~~~beforeMount~~~~");
  },
  mounted() {
    console.log("~~~~mounted~~~~");
  },
  beforeUpdate() {
    console.log("~~~~beforeUpdate~~~~");
  },

  updated() {
    console.log("~~~~updated~~~~");
  },

  beforeDestroy() {
    console.log("~~~~beforeDestroy~~~~");
  },
  destroyed() {
    console.log("~~~~destroyed~~~~");
  },
};
</script>

<style>
</style>